home *** CD-ROM | disk | FTP | other *** search
- if which is "windows" then
- put the windows into text
- put the btn1rect of window "monitor" into x
- end if
- if which is "inUse" then
- put the stacksInUse into text
- put the btn2rect of window "monitor" into x
- end if
- if which is "stackL" then
- global stacksSeen
- put stacksSeen into text
- put the btn3rect of window "monitor" into x
- end if
- put item 1 of x&","&item 2 of x into x
- put getPopMen(text,x,monitor,2) into menuResult
- if which is "windows" then
- if the shiftKey is down then
- show window line menuResult of text
- end if
- end if
- if which is "inUse" then
- if the shiftKey is down then
- put line menuResult of the stacksInUse into x
- go to stack x in a new window
- end if
- if the optionKey is down then
- put line menuResult of the stacksInUse into x
- stop using stack x
- end if
- end if
- if which is "stackL" then
- if the shiftKey is down then
- if the optionKey is up then
- put line menuResult of text into x
- go to x
- else
- put line menuResult of text into x
- go to x in a new window
- end if
- end if
- end if